package com.zhang.buiness.amaster.configenv.server.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;

@Service
@RefreshScope
public class EnvServiceImpl  {

    @Value("${word}")
    private String word;
    public List<String> getEnvConfig() {
        return Arrays.asList(word);
    }
}
